Temperature calculation based on non-uniform leakage power

ABSTRACT

A system may include determination of a spatial power map associated with an integrated circuit based on an architecture of the circuit, generation of a spatial thermal map associated with the integrated circuit based on the spatial power map, and determination of a spatial leakage power map based on the spatial thermal map. In some aspects, a system includes determination of a temperature of an integrated circuit, comparison of the temperature with a thermal divergence temperature, determination that the temperature of the integrated circuit is primarily due to leakage power, and disabling of power to the integrated circuit.

CLAIM OF PRIORITY

The present patent application is a Continuation of, and claims priority to and incorporates by reference in its entirety, the corresponding U.S. patent application Ser. No. 11/646,064 entitled, “TEMPERATURE CALCULATION BASED ON NON-UNIFORM LEAKAGE POWER” filed on Dec. 27, 2006.

BACKGROUND

Power dissipation directly affects the performance and reliability of modern integrated circuits. A microprocessor designer, for example, may model this power dissipation with respect to a high level micro-architecture, a register transfer level, and an actual implementation of the microprocessor. According to conventional methods for modeling power dissipation, source-to-drain leakage power is characterized as a constant depending only on a process corner of the subject integrated circuit. These methods typically neglect any dependence of leakage power on temperature as insignificant.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a block diagram illustrating an apparatus according to some embodiments.

FIG. 2 is a flow diagram of a process according to some embodiments.

FIG. 3 illustrates a thermal divergence temperature determined according to some embodiments.

FIG. 4 is a flow diagram of a process according to some embodiments.

DETAILED DESCRIPTION

FIG. 1 is a block diagram of integrated circuit 100 according to some embodiments. Integrated circuit 100 may comprise any type of semiconductor-based device having electrical devices integrated therein. Integrated circuit 100 may be fabricated according to any number of fabrication techniques that are or become known. In some embodiments, integrated circuit 100 comprises a silicon-based general-purpose microprocessor.

Integrated circuit 110 comprises core 110, temperature sensor 120, lookup table 130, power regulation circuit 140 and comparator 150. The positions and relative sizes of functional blocks 110 through 150 do not necessarily reflect any particular implementation. According to some embodiments, one or more of functional blocks 110 through 150 may share active or passive electrical elements amongst each other.

Core 110 may comprise an execution engine to execute processor-executable program code. Such execution may illicit desired behavior from circuit 100, which may include internal state changes as well the driving of desired signals to external pins (not shown) of circuit 100. Circuit 100 may store program code “on-chip” for low-level operations such as one or more processes described herein.

Memory 160 may be in communication with one or more external pins and may provide processor-executable program code to integrated circuit 100 according to some embodiments. Memory 160 may comprise any type of memory for storing data, including but not limited to a Single Data Rate Random Access Memory (SDR-RAM), a Double Data Rate Random Access Memory (DDR-RAM), or a Programmable Read Only Memory (PROM).

FIG. 2 is a diagram of process 200 according to some embodiments. Process 200 may be executed by any combination of hardware, software and/or firmware, and some elements may be executed manually. Process 200 may be executed during testing and/or other quality assurance activities after manufacture of an integrated circuit.

Initially, at 210, a spatial power map associated with an integrated circuit is determined. The spatial power map is based on an architecture of the circuit. Determination of the spatial power map at 210 may proceed according to any suitable system that is or becomes known. For example, some conventional systems receive an electronic “floorplan” of the integrated circuit, statistical historic studies of prior integrated circuits, and process data, and generate a three-dimensional map illustrating power consumption at various locations throughout the integrated circuit. The map typically reflects active power, gate power, and source-to-drain leakage power.

Next, at 220, a spatial thermal map associated with an integrated circuit is generated based on the spatial power map generated at 210. The spatial thermal map may indicate average operational temperatures at various points of the integrated circuit. Again, current or future conventional methods for generating such a thermal map may be employed at 220.

A spatial leakage power map is determined at 230 based on the spatial thermal map generated at 220. According to some embodiments, the spatial leakage power map reflects source-to-drain leakage power at various locations of the integrated circuit. The leakage power may be modeled as follows:

P _(sdleak2) =P _(sdleak1) e ^(B) ^(β(T2−T1)),

where β is obtained from process data simulations. The following table illustrates values of β generated by SPICE measurements using a minimum square fit method, with V_(dd)=1.1V, T=25 to 150 degrees C., and a PTTTT skew on conventional microprocessor fabrication process.

TTTT FFFF LV_(T) NMOS 1.48E−02 9.35E−02 HV_(T) NMOS 1.94E−02 1.68E−02 LV_(T) PMOS 1.76E−02 1.06E−02 HV_(T) PMOS 2.01E−02 1.74E−02

As shown, β may vary depending on process corner. Accordingly, several spatial leakage power maps corresponding to respective process corners may be generated at 230.

At 240, it is determined whether the spatial leakage power map is substantially convergent. Convergence in this context may indicate that a difference between the most-recently determined spatial thermal map and a previously-determined thermal map is less than a predetermined threshold. Some embodiments therefore require flow to return to 220 and continue as described above to generate a second spatial thermal map for comparison against a first spatial thermal map at 240. Flow continues to cycle between 220, 230 and 240 until the most-recently determined spatial thermal map is determined to be substantially convergent.

One or more leakage power shutdown temperatures are determined at 250 based on the spatial leakage power map. The determination at 250 may be based on the direct proportionality of temperature to total power, written as T_(j)=T_(a)+f (Source-Drain Leakage Power, Gate Leakage Power, Active Power). Assuming that Y₁=T_(j) and Y₂=T_(a)+f (Source-Drain Leakage Power, Gate Leakage Power, Active Power), the function Y=Y₁-Y₂ may be defined. The function Y has one minimum and no maximums. Moreover, if the minimum is less than 0, either one solution (i.e., a converging case) or two solutions (i.e., a diverging case) exists.

FIG. 3 is a graph illustrating a plot of Y according to some embodiments. The plot is associated with a particular process corner based on which the associated spatial leakage power map was determined at 230. Also shown is solution A of the function Y, which may represent a leakage power shutdown temperature according to some embodiments. The leakage power shutdown temperature may be a temperature at which, for the given process corner, temperature and leakage power become self-reinforcing and cause a runaway condition.

FIG. 4 is a flow diagram of process 400 according to some embodiments. Process 400 may be executed by any combination of hardware, software and/or firmware. Process 400 may be executed by circuit 100 according to some embodiments.

A temperature of an integrated circuit is determined at 410. The temperature may be determined by an on-chip temperature sensor such as temperature sensor 120, which may comprise a digital thermometer or any other type of sensor that is or becomes known. The sensor may measure the temperature at a particular location of the integrated circuit at which temperature and leakage power are of concern.

At 420, it is determined whether the temperature is proximate to a thermal divergence temperature. As described above with respect to the leakage power shutdown temperature, the thermal divergence temperature may be a temperature at which the continued application of supply power may cause a runaway temperature condition. Accordingly, the thermal divergence temperature may be determined for a particular location of the integrated circuit as described above with respect to the leakage power shutdown temperature.

The thermal divergence temperature may be stored on-chip (e.g., in lookup table 130) after manufacture of the integrated circuit. In some embodiments, several thermal divergence temperatures are stored on-chip and one of the stored temperatures is flagged to indicate its applicability to the particular integrated circuit. Such an arrangement may allow a manufacturer to customize process 400 in view of a process corner or intended use of the integrated circuit.

Comparator 130 may compare the determined temperature to the thermal divergence temperature at 420. Comparator 130 may indicate TRUE if the measured temperature is less than but sufficiently proximate to the thermal divergence temperature. Comparator 130 may be an element of core 110. Flow returns to 410 if the determined temperature is not proximate to the thermal divergence temperature.

Flow proceeds to 430 if the determination at 420 is affirmative. At 430, it is determined if the integrated circuit is active. The determination at 430 may be intended to determine if the measured temperature is primarily due to active power or leakage power. The determination may be based on communication with the operating system, internal performance counters of the integrated circuit, etc. If the integrated circuit is active, flow continues to 440 to hand control to other temperature control processes. Such control may comprise reducing operational frequency, supply power, workload, etc.

If it is determined that the integrated circuit is not active, a temperature of the integrated circuit is again determined at 450, and this temperature is compared against the thermal divergence point at 460. If the measured temperature is less than the thermal divergence point, flow returns to 420 to determine whether to determine whether the temperature of the integrated circuit is still proximate to the thermal divergence temperature and flow continues as described above.

If the measured temperature is greater than the thermal divergence point at 460, power to the integrated circuit is disabled at 470. Disabling the power is intended to prevent a runaway temperature condition. The power may be disabled by operating power regulation circuit 140 to reduce or eliminate power supplied to all or a portion of integrated circuit 100. The power may be disabled at 470 by instructing an off-chip voltage regulator (not shown) to stop power delivery to integrated circuit 100.

The several embodiments described herein are solely for the purpose of illustration. Therefore, persons in the art will recognize from this description that other embodiments may be practiced with various modifications and alterations. 

1. An integrated circuit comprising: a processing core; a temperature sensor to determine a temperature of the processing core; a lookup table to store a temperature value; and a comparator to compare the temperature of the processing core with the stored temperature value.
 2. The integrated circuit of claim 1, wherein the temperature sensor comprises a digital thermometer.
 3. The integrated circuit of claim 1, wherein the temperature sensor is positioned at a location where leakage power is higher than other locations in the processing core.
 4. The integrated circuit of claim 1, wherein the temperature value stored in the lookup table is a thermal divergence temperature.
 5. The integrated circuit of claim 1, wherein the look-up table is operable to store a plurality of temperature values, wherein at least one of the temperature value from the plurality of temperature values is flagged to indicate applicability of the temperature value to the integrated circuit.
 6. The integrated circuit of claim 1, wherein the comparator is positioned in the processing core.
 7. The integrated circuit of claim 1 further comprises a power regulator which is operable to reduce power supply level to the processing core or eliminate power supply to the processing core according to an output signal from the comparator.
 8. The integrated circuit of claim 7, wherein the power regulator is operable to eliminate power supply to the processing core when an off-chip voltage regulator instructs the power regulator to stop power delivery.
 9. The integrated circuit of claim 1, wherein the temperature sensor is to determine the temperature of processing core due to leakage power when the processing core is inactive.
 10. The integrated circuit of claim 9, wherein the determination that the processing core is inactive is made via an operating system.
 11. The integrated circuit of claim 1, wherein temperature sensor to determine a second temperature of the processing core after it is determined that the temperature of the processing core is due to leakage power, and wherein the integrated circuit is further to determine that the second temperature is greater than the temperature value.
 12. A system comprising: a memory; an integrated circuit, coupled to the memory, comprises: a processing core; a temperature sensor to determine a temperature of the processing core; a lookup table to store a temperature value; and a comparator to compare the temperature of the processing core with the stored temperature value; and an operating system to indicate whether the processing core in the integrated circuit is active.
 13. The system of claim 12, wherein the memory is at least one of: Double Data Rate (DDR) Random Access Memory (RAM); Single Data Rate (SDR) RAM; or Programmable Read Only Memory (PROM).
 14. The system of claim 12, wherein the processing core comprises an execution engine to illicit behavior of the integrated circuit.
 15. The system of claim 12, wherein the temperature sensor comprises a digital thermometer.
 16. The system of claim 12, wherein the temperature sensor is positioned at a location where leakage power is higher than other locations in the processing core.
 17. The system of claim 12, wherein the temperature value stored in the lookup table is a thermal divergence temperature.
 18. The system of claim 12, wherein the comparator is positioned in the processing core.
 19. The system of claim 12, wherein the integrated circuit further comprises a power regulator which is operable to reduce power supply level to the processing core or eliminate power supply to the processing core according to an output signal from the comparator.
 20. The system of claim 19 further comprises a voltage regulator external to the integrated circuit which is operable to instruct the power regulator to stop power delivery according to the output signal from the comparator. 